home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1994 #2
/
Monster Media No. 2 (Monster Media)(1994).ISO
/
pcboard
/
ppepakts.zip
/
SLOTS.PPE
(
.txt
)
< prev
Wrap
PCBoard Programming Language Executable
|
1994-05-30
|
17KB
|
765 lines
;------------------------------------------------------------------------------
; .ss.
; `²²'
; .,sS$Ss,,s$ .,sS$$$Ss. .,sS$Ss,,s$ .ss. .sSs.
; .d$$²^°²$$$$'.d$P²°^^²$P'.d$$²^°²$$$$'.$$$' .$$$²Sb,.
; $$$' .$$$' $$$²Sçsµ²' .$$$' .$$$'.$$$' .$$$' `$$b.
; $$$b,,d$$$' ,$$$b,....,s$$$$b,,d$$$'.$$$;.,$$$' ;$$$
; `²S$$S²²S$$S²°²S$$$$S²°°²S$$$$$$',$$S²°²S$S'.sS$$$P²'
; .sS²°$$$²²°"' d²°'
; .$$² .$$'
; $$$.,d$$'
; `²S$$S²'
;------------------------------------------------------------------------------
; P.P.L.X. 2.OO (C)1996 - Lone Runner / AEGiS CoRP'96
;------------------------------------------------------------------------------
; PPE 2.OO (plain) - Analysis ON - Postprocessing ON
;------------------------------------------------------------------------------
Date TDATE001(1000)
Integer INTEGER001
Integer INTEGER002
Integer INTEGER003
Integer INTEGER004
Integer INTEGER005
Integer INTEGER006
Integer INTEGER007
Integer INTEGER008
Integer INTEGER009
Integer INTEGER010
Integer INTEGER011
Integer INTEGER012
Integer INTEGER013
Money MONEY001
Money MONEY002
Money TMONEY003(1000)
Money MONEY004
Money MONEY005
Money MONEY006
String TSTRING001(15)
String TSTRING002(3)
String TSTRING003(3)
String TSTRING004(3)
String TSTRING005(1000)
String STRING006
String STRING007
String STRING008
String STRING009
String STRING010
String STRING011
String STRING012
String STRING013
String STRING014
String STRING015
String STRING016
;------------------------------------------------------------------------------
Cls
INTEGER007 = 0
INTEGER012 = 0
STRING006 = "YES"
INTEGER005 = 0
Gosub LABEL014
STRING014 = Mid(STRING015, PcbNode() * 5 - 4, 4)
If (INTEGER008 <> 932411) Then
Gosub LABEL022
Else
Gosub LABEL023
Endif
GetUser
Gosub LABEL015
Gosub LABEL016
Newline
If (STRING007 == "YES") Then
STRING013 = "N"
Else
STRING013 = "Y"
Endif
InputYN "Would like the instructions/rules", STRING013, 14
If (STRING013 <> YesChar()) Then
Goto LABEL001
Else
Goto LABEL024
Endif
:LABEL001
STRING012 = Time()
STRING011 = "Started SLOTS at "
Log STRING011 + STRING012, 1
Cls
AnsiPos 1, 2
PrintLn "Winnings:"
AnsiPos 1, 3
PrintLn "@X0C$$$@X09 - $25 and 10 minutes - 1st coin @X55█@X5AEARTHQUAKE@X55██@X09 "
PrintLn "@X0C$$$@X09 - $50 and 20 minutes - 2nd coin @X0C 2nd coin █@X80 @X55█@X80 @X55█@X80 @X0C█@X09 │"
PrintLn "@X0C$$$@X09 - $250 and 30 minutes - 3rd coin @X0E 1st coin █@X80 @X55█@X80 @X55█@X80 @X0E█@X09 │"
PrintLn "@X03@X09 - $20 and 20 minutes @X0F 3rd coin █@X80 @X55█@X80 @X55█@X80 @X0F█@X09 │"
PrintLn "@X03@X0EΦ@X09 - $20 @X55█████@X5A$1@X55██████@X09─┘"
PrintLn "@X05@X09 - $15 and 15 minutes @X55██@X07▀▀▀▀▀▀▀▀▀@X55██"
PrintLn "@X05@X0EΦ@X09 - $15 @X55█████████████"
PrintLn "@X04@X09 - $10 and 10 minutes"
PrintLn "@X04@X0EΦ@X09 - $10"
PrintLn "@X02-@X09 - $5"
PrintLn "@X02--@X09 - $2"
PrintLn "@X0EΦΦΦ@X09 - 10 minutes"
AnsiPos 1, 15
Print "@X78┌────────────────────────────────────────────────┐"
AnsiPos 1, 16
Print "@X78│ │@X08█"
AnsiPos 1, 17
Print "@X78└────────────────────────────────────────────────┘@X08█"
AnsiPos 51, 18
Print "@X08█"
AnsiPos 1, 18
Print "@X78┌────────────────────────────────────────────────┐"
AnsiPos 1, 19
Print "@X78│ │@X08█"
AnsiPos 1, 20
Print "@X78└────────────────────────────────────────────────┘@X08█"
AnsiPos 1, 21
Print "@X08 ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀@X0E"
AnsiPos 63, 13
Print "@X0BStatistics"
AnsiPos 59, 14
Print "@X78┌─────────┬─────────┐"
AnsiPos 59, 15
Print "@X78│ @X75Money@X78 │@X75Min. left@X78│@X08█"
AnsiPos 59, 16
Print "@X78├ ┼ ┤@X08█"
AnsiPos 59, 17
Print "@X78├─────────┼─────────┤█"
AnsiPos 59, 18
Print "@X78│ @X75Coins@X78 │@X75 Spins @X78│@X08█"
AnsiPos 59, 19
Print "@X78├ ┼ ", Right(INTEGER012, 3), " ┤@X08█"
AnsiPos 59, 20
Print "@X78└─────────┴─────────┘@X08█"
AnsiPos 59, 21
Print "@X08 ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀@X0E"
:LABEL002
Gosub LABEL018
AnsiPos 60, 16
Print "@X7E", Right(MONEY001, 8)
AnsiPos 70, 16
Print "@X7E", Right(MinLeft(), 6)
AnsiPos 60, 19
Print "@X77", Space(8)
AnsiPos 74, 19
Print "@X78", Right(INTEGER012, 3)
:LABEL003
INTEGER012 = INTEGER012 + 1
AnsiPos 3, 19
InputStr "How many coins (1 2 or 3) - or (Q)uit", STRING016, 126, 3, "123QMDCNF", 8
If ((STRING016 == "D") && ((U_Name() == "DEAN HUNTLEY") || (CurSec() >= SysopSec()))) Then
Cls
DispFile PPEPath() + "slots.dat", 2 + 1 + 4
Wait
Goto LABEL001
Endif
If ((STRING016 == "M") && ((U_Name() == "DEAN HUNTLEY") || (CurSec() >= SysopSec()))) Then
Cls
InputText "Change dollar amount", MONEY001, 14, 7
Newline
Wait
Goto LABEL001
Endif
If ((STRING016 == "CNF") && ((U_Name() == "DEAN HUNTLEY") || (CurSec() >= SysopSec()))) Then
Cls
InputText "Change BBS name", STRING008, 14, 45
Newline
InputText "Change verfication #", INTEGER008, 14, 6
Newline
InputText "Change starting bet", MONEY005, 14, 7
Newline
InputText "Change node baud rates (separated by spaces)", STRING015, 14, 35
Newline
FOpen 0, PPEPath() + "slots.cnf", 1, 0
FPutLn 0, STRING008
FPutLn 0, INTEGER008
FPutLn 0, MONEY005
FPutLn 0, STRING015
FClose 0
STRING014 = Mid(STRING015, PcbNode() * 5 - 4, 4)
Wait
Goto LABEL001
Endif
If (STRING016 == "Q") Then
Goto LABEL013
Endif
INTEGER013 = S2I(STRING016, 10)
MONEY002 = INTEGER013 * 100
If ((INTEGER013 < 1) || (INTEGER013 > 3)) Then
Goto LABEL003
Endif
If (MONEY002 > MONEY001) Then
AnsiPos 1, 16
Print "@X09You don't have ", MONEY002, " to bet."
Goto LABEL003
Endif
MONEY001 = MONEY001 - MONEY002
MONEY004 = MONEY001
AnsiPos 64, 19
Print "@X75", INTEGER013, "@X0E"
AnsiPos 57, 2
Print " "
AnsiPos 3, 16
Print "@X77", Space(46)
AnsiPos 3, 19
Print "@X7E", Space(46)
Gosub LABEL019
:LABEL004
INTEGER001 = Random(50)
If (INTEGER001 < 5) Goto LABEL004
:LABEL005
INTEGER002 = Random(50)
If (INTEGER002 < 5) Goto LABEL005
:LABEL006
INTEGER003 = Random(50)
If (INTEGER003 < 5) Goto LABEL006
For INTEGER004 = 1 To 60
INTEGER005 = INTEGER004
If (((INTEGER004 > INTEGER001) && (INTEGER004 > INTEGER002)) && (INTEGER004 > INTEGER003)) Break
If ((INTEGER004 > 10) && (INTEGER004 <= 20)) Then
INTEGER005 = INTEGER004 - 10
Endif
If ((INTEGER004 > 20) && (INTEGER004 <= 30)) Then
INTEGER005 = INTEGER004 - 20
Endif
If ((INTEGER004 > 30) && (INTEGER004 <= 40)) Then
INTEGER005 = INTEGER004 - 30
Endif
If ((INTEGER004 > 40) && (INTEGER004 <= 50)) Then
INTEGER005 = INTEGER004 - 40
Endif
If (INTEGER004 <= INTEGER001) Then
AnsiPos 57, 6
Print TSTRING001(INTEGER005 + 1)
AnsiPos 57, 5
Print TSTRING001(INTEGER005)
AnsiPos 57, 4
If (INTEGER005 == 1) Then
Print TSTRING001(11)
Goto LABEL007
Endif
Print TSTRING001(INTEGER005 - 1)
:LABEL007
If (INTEGER004 == INTEGER001) Then
TSTRING002(1) = TSTRING001(INTEGER005)
If (INTEGER005 == 1) Then
TSTRING002(2) = TSTRING001(11)
Goto LABEL008
Endif
TSTRING002(2) = TSTRING001(INTEGER005 - 1)
:LABEL008
TSTRING002(3) = TSTRING001(INTEGER005 + 1)
Endif
Endif
If (INTEGER004 <= INTEGER002) Then
AnsiPos 61, 6
Print TSTRING001(INTEGER005 + 1)
AnsiPos 61, 5
Print TSTRING001(INTEGER005)
AnsiPos 61, 4
If (INTEGER005 == 1) Then
Print TSTRING001(11)
Goto LABEL009
Endif
Print TSTRING001(INTEGER005 - 1)
:LABEL009
If (INTEGER004 == INTEGER002) Then
TSTRING003(1) = TSTRING001(INTEGER005)
If (INTEGER005 == 1) Then
TSTRING003(2) = TSTRING001(11)
Goto LABEL010
Endif
TSTRING003(2) = TSTRING001(INTEGER005 - 1)
:LABEL010
TSTRING003(3) = TSTRING001(INTEGER005 + 1)
Endif
Endif
If (INTEGER004 <= INTEGER003) Then
AnsiPos 65, 6
Print TSTRING001(INTEGER005 + 1)
AnsiPos 65, 5
Print TSTRING001(INTEGER005)
AnsiPos 65, 4
If (INTEGER005 == 1) Then
Print TSTRING001(11)
Goto LABEL011
Endif
Print TSTRING001(INTEGER005 - 1)
:LABEL011
If (INTEGER004 == INTEGER003) Then
TSTRING004(1) = TSTRING001(INTEGER005)
If (INTEGER005 == 1) Then
TSTRING004(2) = TSTRING001(11)
Goto LABEL012
Endif
TSTRING004(2) = TSTRING001(INTEGER005 - 1)
:LABEL012
TSTRING004(3) = TSTRING001(INTEGER005 + 1)
Endif
Endif
If (STRING014 == 2400) Then
Delay 0
Endif
If (STRING014 >= 9600) Then
Delay 2
Endif
Next
INTEGER009 = 0
STRING009 = "NO"
If (((TSTRING002(1) == "@X0C$@X80") && (TSTRING003(1) == "@X0C$@X80")) && (TSTRING004(1) == "@X0C$@X80")) Then
MONEY001 = MONEY001 + 5000
AnsiPos 57, 2
Print "@X8EJACKPOT █"
AnsiPos 3, 16
Print "@X7EYou won a JACKPOT of @X0C$50.00@X0E plus 20 minutes."
INTEGER009 = 20
STRING009 = "YES"
Endif
If (((TSTRING002(2) == "@X0C$@X80") && (TSTRING003(2) == "@X0C$@X80")) && (TSTRING004(2) == "@X0C$@X80")) Then
MONEY001 = MONEY001 + 5000
AnsiPos 57, 2
Print "@X8EJACKPOT █"
AnsiPos 3, 16
Print "@X7EYou won a JACKPOT of @X0C$50.00@X0E plus 10 minutes."
INTEGER009 = 10
STRING009 = "YES"
Endif
If (((TSTRING002(3) == "@X0C$@X80") && (TSTRING003(3) == "@X0C$@X80")) && (TSTRING004(3) == "@X0C$@X80")) Then
MONEY001 = MONEY001 + 25000
AnsiPos 57, 2
Print "@X8EJACKPOT █"
AnsiPos 3, 16
Print "@X7EYou won a JACKPOT of @X0C$250.00@X0E plus 30 minutes."
INTEGER009 = 30
STRING009 = "YES"
Endif
Gosub LABEL020
If (STRING009 == "YES") Then
MONEY006 = MONEY001 - MONEY004
AnsiPos 65, 2
Print "@X8E@BEEP@█"
AnsiPos 3, 16
Print "@X7EYou bet @X7C", MONEY002, "@X7E and won @X7C", MONEY006
If (INTEGER009 > 0) Then
AdjTime INTEGER009
AnsiPos 31, 16
Print "@X7E plus @X7C", INTEGER009, "@X7E minutes."
Endif
Else
AnsiPos 3, 16
PrintLn "@X7ECan't win'em every time. You lost @X7C", MONEY002
Endif
If (MONEY001 == 0) Then
AnsiPos 1, 19
Print "@X0EYou have no more money to play with for today. Play again tomorrow."
Delay 90
Else
Goto LABEL002
Endif
:LABEL013
If (STRING007 == "YES") Then
If ((U_Name() == "DEAN HUNTLEY") || (CurSec() >= SysopSec())) Then
TDATE001(INTEGER007) = "00-00-00"
Else
TDATE001(INTEGER007) = Date()
Endif
TMONEY003(INTEGER007) = MONEY001
Else
INTEGER006 = INTEGER006 + 1
If ((U_Name() == "DEAN HUNTLEY") || (CurSec() >= SysopSec())) Then
TDATE001(INTEGER006) = "00-00-00"
Else
TDATE001(INTEGER006) = Date()
Endif
TSTRING005(INTEGER006) = U_Name()
TMONEY003(INTEGER006) = MONEY001
Endif
Gosub LABEL021
FOpen 0, PPEPath() + "slots.DAT", 1, 0
FPutLn 0, INTEGER006
For INTEGER004 = 1 To INTEGER006
FPutLn 0, TDATE001(INTEGER004)
FPutLn 0, TSTRING005(INTEGER004)
FPutLn 0, TMONEY003(INTEGER004)
Next
FClose 0
Goto LABEL025
:LABEL014
FOpen 0, PPEPath() + "slots.cnf", 0, 0
FGet 0, STRING008
FGet 0, INTEGER008
FGet 0, MONEY005
FGet 0, STRING015
FClose 0
Return
:LABEL015
TSTRING001(1) = "@X03@X80"
TSTRING001(2) = "@X0EΦ@X80"
TSTRING001(3) = "@X04@X80"
TSTRING001(4) = "@X02@X80"
TSTRING001(5) = "@X05@X80"
TSTRING001(6) = "@X0EΦ@X80"
TSTRING001(7) = "@X04@X80"
TSTRING001(8) = "@X05@X80"
TSTRING001(9) = "@X0C$@X80"
TSTRING001(10) = "@X0EΦ@X80"
TSTRING001(11) = "@X04@X80"
Return
:LABEL016
If (FileInf(PPEPath() + "slots.DAT", 1) <> 1) Then
FCreate 0, PPEPath() + "slots.DAT", 2, 0
INTEGER006 = 0
FPutLn 0, INTEGER006
FClose 0
Else
FOpen 0, PPEPath() + "slots.DAT", 0, 0
FGet 0, INTEGER006
For INTEGER004 = 1 To INTEGER006
FGet 0, TDATE001(INTEGER004)
FGet 0, TSTRING005(INTEGER004)
FGet 0, TMONEY003(INTEGER004)
TSTRING005(INTEGER004) = RTrim(TSTRING005(INTEGER004), " ")
TDATE001(INTEGER004) = RTrim(TDATE001(INTEGER004), " ")
If (TDATE001(INTEGER004) == Date()) Then
If (TSTRING005(INTEGER004) == U_Name()) Then
STRING006 = "NO"
FClose 0
Goto LABEL017
Endif
Continue
Endif
If (TSTRING005(INTEGER004) == U_Name()) Then
MONEY001 = TMONEY003(INTEGER004)
INTEGER007 = INTEGER004
STRING007 = "YES"
Endif
Next
FClose 0
Endif
:LABEL017
If (STRING006 == "NO") Then
AnsiPos 1, 20
Print "Sorry, you have already played once today....."
AnsiPos 1, 21
Wait
End
Endif
If (MONEY001 < MONEY005) Then
MONEY001 = MONEY005
Endif
Return
:LABEL018
If (MinLeft() <= 5) Then
AnsiPos 1, 13
Print "@X0EYou only have ", MinLeft(), " minutes left on your session."
Endif
If (MinLeft() < 2) Then
AnsiPos 1, 20
Print "@X0EI am saving your game at this point. You only have ", MinLeft(), " minute left."
Goto LABEL013
Endif
Return
:LABEL019
AnsiPos 69, 3
Print "@X0E "
AnsiPos 69, 4
Print "@X09"
Delay 2
AnsiPos 69, 4
Print " "
AnsiPos 69, 5
Print "@X09"
Delay 2
AnsiPos 69, 5
Print " "
AnsiPos 69, 6
Print "@X09"
Delay 3
AnsiPos 69, 6
Print "@X09│"
AnsiPos 69, 5
Print "@X09"
Delay 2
AnsiPos 69, 5
Print "@X09│"
AnsiPos 69, 4
Print "@X09"
Delay 2
AnsiPos 69, 4
Print "@X09│"
AnsiPos 69, 3
Print "@X09"
Delay 2
Return
:LABEL020
For INTEGER004 = 1 To INTEGER013
If (((TSTRING002(INTEGER004) == "@X03@X80") && (TSTRING003(INTEGER004) == "@X03@X80")) && (TSTRING004(INTEGER004) == "@X03@X80")) Then
MONEY001 = MONEY001 + 2000
INTEGER009 = INTEGER009 + 20
STRING009 = "YES"
ElseIf (((TSTRING002(INTEGER004) == "@X03@X80") && (TSTRING003(INTEGER004) == "@X03@X80")) && (TSTRING004(INTEGER004) == "@X0EΦ@X80")) Then
MONEY001 = MONEY001 + 2000
STRING009 = "YES"
Endif
If (((TSTRING002(INTEGER004) == "@X05@X80") && (TSTRING003(INTEGER004) == "@X05@X80")) && (TSTRING004(INTEGER004) == "@X05@X80")) Then
MONEY001 = MONEY001 + 1500
INTEGER009 = INTEGER009 + 15
STRING009 = "YES"
ElseIf (((TSTRING002(INTEGER004) == "@X05@X80") && (TSTRING003(INTEGER004) == "@X05@X80")) && (TSTRING004(INTEGER004) == "@X0EΦ@X80")) Then
MONEY001 = MONEY001 + 1500
STRING009 = "YES"
Endif
If (((TSTRING002(INTEGER004) == "@X04@X80") && (TSTRING003(INTEGER004) == "@X04@X80")) && (TSTRING004(INTEGER004) == "@X04@X80")) Then
MONEY001 = MONEY001 + 1000
INTEGER009 = INTEGER009 + 10
STRING009 = "YES"
ElseIf (((TSTRING002(INTEGER004) == "@X04@X80") && (TSTRING003(INTEGER004) == "@X04@X80")) && (TSTRING004(INTEGER004) == "@X0EΦ@X80")) Then
MONEY001 = MONEY001 + 1000
STRING009 = "YES"
Endif
If (((TSTRING002(INTEGER004) == "@X0EΦ@X80") && (TSTRING003(INTEGER004) == "@X0EΦ@X80")) && (TSTRING004(INTEGER004) == "@X0EΦ@X80")) Then
INTEGER009 = INTEGER009 + 10
STRING009 = "YES"
Endif
If ((TSTRING002(INTEGER004) == "@X02@X80") && (TSTRING003(INTEGER004) == "@X02@X80")) Then
MONEY001 = MONEY001 + 500
STRING009 = "YES"
Continue
Endif
If (TSTRING002(INTEGER004) == "@X02@X80") Then
MONEY001 = MONEY001 + 200
STRING009 = "YES"
Endif
Next
Return
Cls
PrintLn "@X01 @X72┌──────────────────────────────────────────────────────────────┐"
PrintLn "@X01 @X72│ │@X0E░░"
PrintLn "@X01 @X72│ @X7ETOP 5 PLAYER SCORES FOR SLOTS@X72 │@X0E░░"
PrintLn "@X01 @X72│ @X7EON THE@X72 │@X0E░░"
PrintLn "@X01 @X72├──────────────────────────────────────────────────────────────┤@X0E░░"
PrintLn "@X01 @X72│ @X7ENAMES HIGH SCORE LAST PLAY@X72 │@X0E░░"
PrintLn "@X01 @X72├──────────────────────────────────────────────────────────────┤@X0E░░"
AnsiPos 31, 4
Print "@X79", STRING008
For INTEGER004 = 1 To 5
AnsiPos 1, INTEGER004 + 7
Print "@X01 @X72│ @X75", Left(ReadLine(PPEPath() + "slots.dat", INTEGER004 * 3), 25)
AnsiPos 25, INTEGER004 + 7
Print "@X75", Right(ReadLine(PPEPath() + "slots.dat", INTEGER004 * 3 + 1), 25), "@X75 "
AnsiPos 57, INTEGER004 + 7
Print "@X75", Right(ReadLine(PPEPath() + "slots.dat", INTEGER004 * 3 - 1), 9)
AnsiPos 66, INTEGER004 + 7
Print "@X72 │@X0E░░"
Next
AnsiPos 1, 13
PrintLn "@X01 @X72│ │@X0E░░"
PrintLn "@X01 @X72└──────────────────────────────────────────────────────────────┘@X0E░░"
PrintLn "@X01 @X0E ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░"
AnsiPos 1, 20
Return
:LABEL021
INTEGER010 = 0
While (INTEGER010 == 0) Do
INTEGER010 = 1
For INTEGER011 = 1 To INTEGER006
If (TMONEY003(INTEGER011) >= TMONEY003(INTEGER011 + 1)) Then
Continue
Endif
STRING010 = TMONEY003(INTEGER011)
TMONEY003(INTEGER011) = TMONEY003(INTEGER011 + 1)
TMONEY003(INTEGER011 + 1) = STRING010
STRING010 = TSTRING005(INTEGER011)
TSTRING005(INTEGER011) = TSTRING005(INTEGER011 + 1)
TSTRING005(INTEGER011 + 1) = STRING010
STRING010 = TDATE001(INTEGER011)
TDATE001(INTEGER011) = TDATE001(INTEGER011 + 1)
TDATE001(INTEGER011 + 1) = STRING010
INTEGER010 = 0
Next
EndWhile
Return
:LABEL022
Cls
PrintLn
PrintLn "@X01 @X71┌────────────────────────────────────────────────────┐@X00"
PrintLn "@X01 @X78│ @X71│@X00"
PrintLn "@X01 @X78│ @X74 UNREGISTERED version @X71│@X00"
PrintLn "@X01 @X78│ @X71│@X00"
PrintLn "@X01 @X78│ @X74 SLOTS v(1.0) @X71│@X00"
PrintLn "@X01 @X78│ @X71│@X00"
PrintLn "@X01 @X78│ @X71│@X00"
PrintLn "@X01 @X78│ @X74 You can register me for $10 - refer to @X71│@X00"
PrintLn "@X01 @X78│ @X74 the documentation supplied with the program. @X71│@X00"
PrintLn "@X01 @X78│ @X71│@X00"
PrintLn "@X01 @X78└────────────────────────────────────────────────────@X71┘@X00"
PrintLn "@X01"
PrintLn "@X0ACopyright (c) 1993 Tin Shack Software"
AnsiPos 1, 18
PrintLn "Please wait...."
Delay 180
Return
:LABEL023
Cls
PrintLn "@X0F ████ █ ████ █████ ████"
PrintLn "@X03█ █ █ █ █ █ "
PrintLn "@X09 ███ ████ ████ █ ███ "
PrintLn "@X03 █ █"
PrintLn "@X0F████ ████ @X0ACopyright (c) 1993 Tin Shack Software"
PrintLn
PrintLn
PrintLn
PrintLn
PrintLn "@X0E NAMES HIGH SCORE LAST PLAY"
PrintLn "@X0C ──────────────────────────────────────────────────────────────@X0E"
For INTEGER004 = 1 To 5
AnsiPos 1, INTEGER004 + 11
Print "@X05 ", Left(ReadLine(PPEPath() + "slots.dat", INTEGER004 * 3), 25)
AnsiPos 25, INTEGER004 + 11
Print "@X05 ", Right(ReadLine(PPEPath() + "slots.dat", INTEGER004 * 3 + 1), 16)
AnsiPos 50, INTEGER004 + 11
Print "@X05 ", Right(ReadLine(PPEPath() + "slots.dat", INTEGER004 * 3 - 1), 9)
Next
PrintLn
PrintLn
Return
:LABEL024
Cls
AnsiPos 33, 1
Print "@X0DS L O T S"
Newline
PrintLn "@X0EThe object of the game is enter either 1, 2 or 3 coins and pull the"
PrintLn "handle (in this case hit enter). Once the wheels stop spinning see what"
PrintLn "you have won or lost."
PrintLn " Winnings:"
PrintLn "@X0C$$$@X09 - $25 and 10 minutes - 1st coin"
PrintLn "@X0C$$$@X09 - $50 and 20 minutes - 2nd coin"
PrintLn "@X0C$$$@X09 - $250 and 30 minutes - 3rd coin"
PrintLn "@X03@X09 - $20 and 20 minutes "
PrintLn "@X03@X0EΦ@X09 - $20 "
PrintLn "@X05@X09 - $15 and 15 minutes "
PrintLn "@X05@X0EΦ@X09 - $15 "
PrintLn "@X04@X09 - $10 and 10 minutes"
PrintLn "@X04@X0EΦ@X09 - $10"
PrintLn "@X02-@X09 - $5"
PrintLn "@X02--@X09 - $2"
PrintLn "@X0EΦΦΦ@X09 - 10 minutes"
PrintLn
PrintLn " End of instructions/rules"
PrintLn
Wait
Goto LABEL001
:LABEL025
STRING012 = Time()
STRING011 = "Ended SLOTS at "
Log STRING011 + STRING012, 1
If (INTEGER008 <> 932411) Then
Gosub LABEL022
AnsiPos 1, 21
Wait
Else
Gosub LABEL023
AnsiPos 1, 21
Print Space(30)
AnsiPos 1, 21
Wait
Endif
End
;------------------------------------------------------------------------------
;
; Usage report (before postprocessing)
;
; ■ Statements used :
;
; 2 End
; 9 Cls
; 7 Wait
; 110 Goto
; 123 Let
; 73 Print
; 71 PrintLn
; 67 If
; 1 DispFile
; 1 FCreate
; 4 FOpen
; 6 FClose
; 8 FGet
; 9 FPutLn
; 1 GetUser
; 1 AdjTime
; 2 Log
; 1 InputStr
; 1 InputYN
; 11 Gosub
; 10 Return
; 10 Delay
; 7 Newline
; 5 InputText
; 80 AnsiPos
;
;
; ■ Functions used :
;
; 9 *
; 63 +
; 16 -
; 61 ==
; 4 <>
; 13 <
; 15 <=
; 10 >
; 21 >=
; 63 !
; 44 &&
; 13 ||
; 2 Mid()
; 2 Left()
; 8 Right()
; 4 Space()
; 2 RTrim()
; 3 Random()
; 3 Date()
; 2 Time()
; 8 U_Name()
; 1 YesChar()
; 13 PPEPath()
; 2 PcbNode()
; 6 ReadLine()
; 5 SysopSec()
; 5 CurSec()
; 5 MinLeft()
; 1 S2I()
; 1 FileInf()
;
;------------------------------------------------------------------------------
;
; Analysis flags : As
;
; A - Adjust online time remaining ■ 5
; Program modify the amount of online time remaining, this may
; be a way to bypass time limits
; ■ Search for : ADJTIME
;
; s - Sysop level access ■ 5
; Program is reading the sysop access level, this may be normal
; but still it is very suspect. It is the best way to give a user
; all priviledges. Check!
; ■ Search for : SYSOPSEC()
;
;------------------------------------------------------------------------------
;
; Postprocessing report
;
; 7 For/Next
; 1 While/EndWhile
; 55 If/Then or If/Then/Else
; 0 Select Case
;
;------------------------------------------------------------------------------
; AEGiS Corp - Break the routines, code against the machines!
;------------------------------------------------------------------------------